#define _CRT_SECURE_NO_WARNINGS 1


#include<stdio.h>
#include<assert.h>

int my_strlen(const char* str)
{
	int count = 0;
	while (*str != '\0')
	{
		count++;
		str++;
	}
	return count;
}


int main()
{
	char a[] = "hello world";
	printf("len = %d\n",my_strlen(a));

	return 0;
}
